package test;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Employees {
	
	@XmlElementWrapper
	List <Employee> lists ;
	public Employees(){}
	
	public Employees(List<Employee> lists){
		this.lists=lists;
	}
	

	public List<Employee> getLists() {
		return lists;
	}

	public void setLists(List<Employee> lists) {
		this.lists = lists;
	}

	@Override
	public String toString() {
		return "Employees:\r  lists: \r"+lists;
	}


	








}
